package com.cotasul.persistencia.interfaces;

import java.util.List;
import java.util.Map;

import com.cotasul.bean.FornecedorBean;
import com.cotasul.bean.OrcamentoBean;

public interface IFornecedorDao<P extends FornecedorBean> extends IDaoGenerico<P> {
	
	List<P> filtraFornecedores(P p) throws Exception;
	
	void aprovaFornecedor(P p) throws Exception;
	
	FornecedorBean buscaFornecedor(P p) throws Exception;
	
	public List<FornecedorBean> buscaFornecedorTipo(Long tipo) throws Exception;
	
	public List<FornecedorBean> buscaOrcamentosFornecedor(OrcamentoBean orca) throws Exception;
	
	public String buscaEmails(Map<String, String> param) throws Exception;
	
	public List<FornecedorBean> buscaFornecedor(Map<String,String> param) throws Exception;
}
